var app = angular.module("app",[]);

app.controller('MainController',['$scope',function ($scope) {
    $scope.submitForm = function () {
      console.log("表单提交了！");
    };
}])